21. Routing Quiz

Routing Quiz

Routing Quiz

Check out Backbone's documentation on route parameters.

When you answer this question, assume the following variables:

  • id (an integer)
  • brochure (a string)

QUESTION:

What is the route to call the home function?

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer

QUESTION:

What is the route to call the mountain function?

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer

QUESTION:

What is the route to call the download function?

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer

Solution

Routing Solution